<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <meta http-equiv="Expires" content="0">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
  <!-- UC强制全屏 -->
  <meta name="full-screen" content="yes">
  <!-- QQ强制全屏 -->
  <meta name="x5-fullscreen" content="true">
  <title>邀请有奖</title>
  <link rel="shortcut icon" href="../favicon.ico">
  <script src="../js/common.js"></script>
  <link rel="stylesheet" href="../css/common.css">
  <link rel="stylesheet" href="../css/dropload.css" />
  <link rel="stylesheet" href="../css/share.css">
</head>

<body>
  <div class="container">
    <div class="content">
      <div class="lists invitationCon">
      </div>
    </div>
  </div>

  <script src="../js/jquery-1.11.3.min.js"></script>
  <script src="../js/dropload.min.js"></script>
  <script src="../js/base64.min.js "></script>
  <script src="../js/ajax.js "></script>
  <script src="../js/template.js"></script>
  <script src="../js/share/index.js"></script>
  <script type="text/html" id="allList">
    <%for(i=0;i<list.length;i++){%>
    <div class="billItem">
      <div class="topInfo">
        <div class="top1">
          <span class="num"><%=list[i].goods_id%></span>
          <span class="text">料号</span>
          <span class="mpn"><%=list[i].mpn%></span>
        </div>
        <div class="info"></div>
        <div class="brand">品牌：<%=list[i].brand_name%></div>
        <div class="type">类别：<%=list[i].category_name%></div>
        <div class="dc"> DC号：<%=list[i].dcn%></div>
        <div class="desc clearfix">
          <div class="fl descLabel">描述： </div>
          <div class="descTxt fl"><%=list[i].product_desc%></div>
        </div>
        <div class="picture">
          <%for(j=0;j<list[i].imglist.length;j++){%>
          <div class="itemPic">
            <img src="<%=list[i].imglist[j].img_url%>?x-oss-process=style/small" />
          </div>
          <%}%>
      </div>
      <div class="bottomContent">
         <%if(list[i].include_tax==1){%>
          <div class="includeTax"> 含税</div>
          <%}%>
          <div class="stockAmount">
            <span>库存数量:</span>
            <span class="stockAmountNum"> <%=list[i].stock_amount%><%=list[i].goods_unit%></span>
          <span class="miniNum"> 最小订购量:</span>
          <span class="stockAmountNum"><%=list[i].min_amount%><%=list[i].goods_unit%></span>
        </div>
      </div>
      <div class="price">
        <%if(list[i].price > 0){%>
        <div class="unitPrice">
          单价：<%if(list[i].currency_type == 1){%>
          <span>$</span>
          <%}else{%>
          <span>￥</span>
          <%}%>
          <span><%=list[i].price%><i>/<%=list[i].goods_unit%></i></span>
        </div>
        <div class="totalPrice">
          总价：<%if(list[i].currency_type == 1){%>
          <span>$</span>
          <%}else{%>
          <span>￥</span>
          <%}%>
          <span><%=list[i].price * list[i].min_amount %><i>/<%=list[i].min_amount%><%=list[i].goods_unit%></i></span>
        </div>
        <%}%>
      </div>
      <%if(list[i].stock_amount < list[i].min_amount ){%>
      <div class="saleOutImg">
        <img src="../images/detail_sellout@2x.png" alt="">
      </div>
      <%}%>
      </div>
    </div>

    <%}%>
  </script>
</body>

</html>